package org.example.erpapispringweb.config;


import org.example.erpapispringweb.security.ApiUser;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@ConfigurationProperties(prefix = "api")
@Configuration
public class ApiUserConfig {
    private List<ApiUser> users;

    public List<ApiUser> getUsers() {
        return users;
    }

    public void setUsers(List<ApiUser> users) {
        this.users = users;
    }
}
